package com.moneywelcome.orderassembly.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 分红记录表
 * </p>
 *
 * @author alice
 * @since 2022-01-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DividendRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "dividend_id", type = IdType.AUTO)
    private Integer dividendId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 分红交易编号
     */
    private String dividendSerial;

    /**
     * 持仓id
     */
    private Integer financialId;

    /**
     * 分红时间
     */
    private String dividendTime;

    /**
     * 分红费额
     */
    private Double dividendMoney;

    /**
     * 分红费率
     */
    private Double dividendRate;

    /**
     * 收款账号
     */
    private Long dividendAccount;

    /**
     * 记录新增时间
     */
    private String rawAddTime;

    /**
     * 更新时间
     */
    private String rawUpdateTime;


}
